<template>
  <div>
      <div v-if="ListData.length>0">
    
       <!-- <router-link to="" href="#" class="item" v-for="(item,index) in listData">                       -->
        <img :src="item.img" alt="" v-for="(item,index) in ListData" :key="index">
        <!-- </router-link> -->
     </div>
     <div v-else>正在加载数据...</div>
  </div>
</template>

<script>
import FootNav from "@/components/FootNav";
export default {
  name: "ChosenListView",
  data() {
    return {};
  },
  props: {
    ListData: {
      type: Array,
      default: function() {
        return [];
      }    
    }
  },
  mounted(){
      console.log(this.listData)
  }
};
</script>
<style scope>
</style>